<!-- 测试自动导入路由 -->
<template>
  <div>
    <div class="home">
      <el-button type="primary" @click="handleClick">点击</el-button>
      <el-button type="primary" @click="handleClick2">点击2</el-button>
    </div>
  </div>
</template>

<script>
import datepicker from './datepicker.vue'
export default {
  components: { datepicker },
    methods: {
      handleClick() {
        this.$message('你点击了按钮')
      },
      handleClick2() {
        this.$message('你点击了按钮2')
      }
    }
  }
</script>


<style>

</style>